﻿@model IEnumerable<asMeishi.web.Models.food>
@using asMeishi.web.Classes;
@using asMeishi.web.Models;
@{    Layout = null;}

@if (Model.Count() != 0)
{
    <div class="bigItem block">
        <a href="/shop/foods/@Model.ElementAt(0).Id">
            <img src="@Model.ElementAt(0).getHeadPic(true)" style="width:100%" />
        </a>
        <div class="titlebg sbcolor"></div>
        <div class="title" >
            <span >@Model.ElementAt(0).name</span>
        </div>


    </div>
}

<ul class="recommandTopBox block"  >

@for (var i=1;i< Model.Count();i++)
{
        <li class="smallItem" >
           <a class="block" href="/shop/foods/@Model.ElementAt(i).Id">
            <img class="headPic" title="@Model.ElementAt(i).name" src="@Model.ElementAt(i).getHeadPic()"/>
            <div class="sbcolor exp" style="color:#fff">@Model.ElementAt(i).name</div>
           </a>
        </li>
}
    </ul>